﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_Disease
    {
        D_Disease dal = new D_Disease();
        public static B_Disease CreateInstance()
        {
            return new B_Disease();
        }
        public bool CreateOneDisease(Disease_Info Disease_Info)
        {

            return dal.CreateOneDisease(Disease_Info);
        }
        public bool EditOneDisease(Disease_Info Disease_Info)
        {

            return dal.EditOneDisease(Disease_Info);
        }
        public bool RemoveOneDisease(int DiseaseID)
        {

            return dal.RemoveOneDisease(DiseaseID);
        }
        public DataTable GetAllDisease()
        {
            
            return dal.GetAllDisease();
        }
        public Disease_Info GetOneDisease(int DiseaseID)
        {
            
            return dal.GetOneDisease(DiseaseID);
        }
    }
}
